﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/public-regular.master" AutoEventWireup="true"
    CodeFile="display-reviews.aspx.cs" Inherits="display_reviews" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderNestedHeader"
    runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMiddleContent" runat="Server">
    <asp:UpdatePanel ID="upnlProductReviewList" runat="server">
        <contenttemplate>
                <asp:Repeater runat="server" ID="rptProductReviews" OnItemDataBound="rptProductReviews_ItemDataBound">
                    <ItemTemplate>
                       <%-- <ajaxToolkit:Rating ID="ThaiRating" runat="server" CurrentRating='<%# Eval("RatingValue") %>'
                        ReadOnly="true" MaxRating="5" StarCssClass="ratingStar" WaitingStarCssClass="savedRatingStar"
                        FilledStarCssClass="filledRatingStar" EmptyStarCssClass="emptyRatingStar" />--%>
                         <ajaxToolkit:Rating ID="Rating" runat="server" CurrentRating="0" ReadOnly="true" MaxRating="5" StarCssClass="ratingStar"
                    WaitingStarCssClass="savedRatingStar" FilledStarCssClass="filledRatingStar" EmptyStarCssClass="emptyRatingStar" />
                        <Label>Reviewer: </label>
                        <%# Eval("CustomerName")%>
                        <%# Eval("CustomerEmail")%>
                    </ItemTemplate>
                </asp:Repeater>
           </contenttemplate>
    </asp:UpdatePanel>
</asp:Content>
